package com.study.ordercenter.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
@Data
@RefreshScope
public class JdbcConfig {

    @Value(value = "${name:wufaliang}")
    private String name;
}
